/**
 * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.vportal.portlet.vfaq.model;

import com.liferay.portal.kernel.bean.AutoEscape;
import com.liferay.portal.kernel.exception.SystemException;
import com.liferay.portal.model.BaseModel;
import com.liferay.portal.model.CacheModel;
import com.liferay.portal.service.ServiceContext;

import com.liferay.portlet.expando.model.ExpandoBridge;

import java.io.Serializable;

import java.util.Date;

/**
 * The base model interface for the FAQAnswer service. Represents a row in the &quot;FAQAnswer&quot; database table, with each column mapped to a property of this class.
 *
 * <p>
 * This interface and its corresponding implementation {@link com.vportal.portlet.vfaq.model.impl.FAQAnswerModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.vportal.portlet.vfaq.model.impl.FAQAnswerImpl}.
 * </p>
 *
 * @author DucNN
 * @see FAQAnswer
 * @see com.vportal.portlet.vfaq.model.impl.FAQAnswerImpl
 * @see com.vportal.portlet.vfaq.model.impl.FAQAnswerModelImpl
 * @generated
 */
public interface FAQAnswerModel extends BaseModel<FAQAnswer> {
	/*
	 * NOTE FOR DEVELOPERS:
	 *
	 * Never modify or reference this interface directly. All methods that expect a f a q answer model instance should use the {@link FAQAnswer} interface instead.
	 */

	/**
	 * Returns the primary key of this f a q answer.
	 *
	 * @return the primary key of this f a q answer
	 */
	public long getPrimaryKey();

	/**
	 * Sets the primary key of this f a q answer.
	 *
	 * @param primaryKey the primary key of this f a q answer
	 */
	public void setPrimaryKey(long primaryKey);

	/**
	 * Returns the uuid of this f a q answer.
	 *
	 * @return the uuid of this f a q answer
	 */
	@AutoEscape
	public String getUuid();

	/**
	 * Sets the uuid of this f a q answer.
	 *
	 * @param uuid the uuid of this f a q answer
	 */
	public void setUuid(String uuid);

	/**
	 * Returns the ID of this f a q answer.
	 *
	 * @return the ID of this f a q answer
	 */
	public long getId();

	/**
	 * Sets the ID of this f a q answer.
	 *
	 * @param id the ID of this f a q answer
	 */
	public void setId(long id);

	/**
	 * Returns the questionid of this f a q answer.
	 *
	 * @return the questionid of this f a q answer
	 */
	public long getQuestionid();

	/**
	 * Sets the questionid of this f a q answer.
	 *
	 * @param questionid the questionid of this f a q answer
	 */
	public void setQuestionid(long questionid);

	/**
	 * Returns the content of this f a q answer.
	 *
	 * @return the content of this f a q answer
	 */
	@AutoEscape
	public String getContent();

	/**
	 * Sets the content of this f a q answer.
	 *
	 * @param content the content of this f a q answer
	 */
	public void setContent(String content);

	/**
	 * Returns the answer order of this f a q answer.
	 *
	 * @return the answer order of this f a q answer
	 */
	public long getAnswerOrder();

	/**
	 * Sets the answer order of this f a q answer.
	 *
	 * @param answerOrder the answer order of this f a q answer
	 */
	public void setAnswerOrder(long answerOrder);

	/**
	 * Returns the answered by user of this f a q answer.
	 *
	 * @return the answered by user of this f a q answer
	 */
	@AutoEscape
	public String getAnsweredByUser();

	/**
	 * Sets the answered by user of this f a q answer.
	 *
	 * @param answeredByUser the answered by user of this f a q answer
	 */
	public void setAnsweredByUser(String answeredByUser);

	/**
	 * Returns the answered date of this f a q answer.
	 *
	 * @return the answered date of this f a q answer
	 */
	public Date getAnsweredDate();

	/**
	 * Sets the answered date of this f a q answer.
	 *
	 * @param answeredDate the answered date of this f a q answer
	 */
	public void setAnsweredDate(Date answeredDate);

	/**
	 * Returns the modified by user of this f a q answer.
	 *
	 * @return the modified by user of this f a q answer
	 */
	@AutoEscape
	public String getModifiedByUser();

	/**
	 * Sets the modified by user of this f a q answer.
	 *
	 * @param modifiedByUser the modified by user of this f a q answer
	 */
	public void setModifiedByUser(String modifiedByUser);

	/**
	 * Returns the language of this f a q answer.
	 *
	 * @return the language of this f a q answer
	 */
	@AutoEscape
	public String getLanguage();

	/**
	 * Sets the language of this f a q answer.
	 *
	 * @param language the language of this f a q answer
	 */
	public void setLanguage(String language);

	/**
	 * Returns the modified date of this f a q answer.
	 *
	 * @return the modified date of this f a q answer
	 */
	public Date getModifiedDate();

	/**
	 * Sets the modified date of this f a q answer.
	 *
	 * @param modifiedDate the modified date of this f a q answer
	 */
	public void setModifiedDate(Date modifiedDate);

	/**
	 * Returns the approved of this f a q answer.
	 *
	 * @return the approved of this f a q answer
	 */
	public boolean getApproved();

	/**
	 * Returns <code>true</code> if this f a q answer is approved.
	 *
	 * @return <code>true</code> if this f a q answer is approved; <code>false</code> otherwise
	 */
	public boolean isApproved();

	/**
	 * Sets whether this f a q answer is approved.
	 *
	 * @param approved the approved of this f a q answer
	 */
	public void setApproved(boolean approved);

	/**
	 * Returns the approved by user of this f a q answer.
	 *
	 * @return the approved by user of this f a q answer
	 */
	@AutoEscape
	public String getApprovedByUser();

	/**
	 * Sets the approved by user of this f a q answer.
	 *
	 * @param approvedByUser the approved by user of this f a q answer
	 */
	public void setApprovedByUser(String approvedByUser);

	/**
	 * Returns the approved date of this f a q answer.
	 *
	 * @return the approved date of this f a q answer
	 */
	public Date getApprovedDate();

	/**
	 * Sets the approved date of this f a q answer.
	 *
	 * @param approvedDate the approved date of this f a q answer
	 */
	public void setApprovedDate(Date approvedDate);

	/**
	 * Returns the user ID of this f a q answer.
	 *
	 * @return the user ID of this f a q answer
	 */
	public long getUserId();

	/**
	 * Sets the user ID of this f a q answer.
	 *
	 * @param userId the user ID of this f a q answer
	 */
	public void setUserId(long userId);

	/**
	 * Returns the user uuid of this f a q answer.
	 *
	 * @return the user uuid of this f a q answer
	 * @throws SystemException if a system exception occurred
	 */
	public String getUserUuid() throws SystemException;

	/**
	 * Sets the user uuid of this f a q answer.
	 *
	 * @param userUuid the user uuid of this f a q answer
	 */
	public void setUserUuid(String userUuid);

	/**
	 * Returns the attach name of this f a q answer.
	 *
	 * @return the attach name of this f a q answer
	 */
	@AutoEscape
	public String getAttachName();

	/**
	 * Sets the attach name of this f a q answer.
	 *
	 * @param attachName the attach name of this f a q answer
	 */
	public void setAttachName(String attachName);

	/**
	 * Returns the folder ID of this f a q answer.
	 *
	 * @return the folder ID of this f a q answer
	 */
	public long getFolderId();

	/**
	 * Sets the folder ID of this f a q answer.
	 *
	 * @param folderId the folder ID of this f a q answer
	 */
	public void setFolderId(long folderId);

	public boolean isNew();

	public void setNew(boolean n);

	public boolean isCachedModel();

	public void setCachedModel(boolean cachedModel);

	public boolean isEscapedModel();

	public Serializable getPrimaryKeyObj();

	public void setPrimaryKeyObj(Serializable primaryKeyObj);

	public ExpandoBridge getExpandoBridge();

	public void setExpandoBridgeAttributes(ServiceContext serviceContext);

	public Object clone();

	public int compareTo(FAQAnswer faqAnswer);

	public int hashCode();

	public CacheModel<FAQAnswer> toCacheModel();

	public FAQAnswer toEscapedModel();

	public String toString();

	public String toXmlString();
}